﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Thefaceless
{
    class Bill
    {
        private String MaHD, MaNV, NgayHD;
        private double TongTien;
        private ArrayList detail = new ArrayList();

        public void setMaHD(String Mahd)
        {
            this.MaHD = Mahd;
        }
        public void setMaNV(String Manv)
        {
            this.MaNV = Manv;
        }
        public void setNgayHD(String NgayHD)
        {
            this.NgayHD = NgayHD;
        }
        public void setTongTien(double tong)
        {
            this.TongTien = tong;
        }
        public void setDetail(BillDetail bd)
        {
            detail.Add(bd);
        }

        public String getMaHD()
        {
            return this.MaHD;
        }
        public String getMaNV()
        {
            return this.MaNV;
        }
        public String getNgayHD()
        {
            return this.NgayHD;
        }
        public double getTongTien()
        {
            return this.TongTien;
        }
        public ArrayList getDetail()
        {
            return this.detail;
        }
    }
}
